package com.wtgroup.demo.mianshi.容器.分段锁;

import org.junit.Test;

import java.util.concurrent.ConcurrentHashMap;

/**
 * @author L&J
 * @version 0.0.0
 * @email liuhejun108@163.com
 * @date 2019/9/8 15:17
 */
public class ConcurrentHashMapDemo {

    @Test
    public void fun1(){

        ConcurrentHashMap<String, Object> map = new ConcurrentHashMap<String, Object>();
        map.put("A", "A---");
        map.get("A");
    }


}
